package org.ingeniart.siec.controller;

import javax.enterprise.inject.Model;
import javax.inject.Inject;
import org.ingeniart.siec.model.TipoGenero;
import org.ingeniart.siec.service.AbstracRegistration;
import org.ingeniart.siec.service.TipoGeneroRegistration;

@Model
public class TipoGeneroController extends AbstractController<TipoGenero>{

	
	
	@Inject
	private TipoGeneroRegistration registration;
	
	private TipoGenero object;
	
	public TipoGeneroController() {
		super(TipoGenero.class);
		// TODO Auto-generated constructor stub
	}

	@Override
	protected AbstracRegistration<TipoGenero> getRegistration() {
		// TODO Auto-generated method stub
		return registration;
	}

	@Override
	public TipoGenero getObject() {
		// TODO Auto-generated method stub
		return object;
	}

	@Override
	public void setObject(TipoGenero obClass) {
		// TODO Auto-generated method stub
		this.object = obClass;
	}

	
	
	
	
	
}
